package org.atlantis.grosbeak.pot.elm;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 表示查询数据库。
 * 
 * @author <a href="mailto:seenoevil.cn@gmail.com">SeeNoEvil</a>
 * 
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Query {

	String DEFAULT = "#-Query-SQL-#-Grosbeak-Pot";

	String value() default DEFAULT;

	int fetchSize() default 20;
}
